WeglotWP\Services\Request_Url_Service_Weglot S

Total Complexity 49
Dependencies 5
Dependents 15
Total lines 247
Lines of code 120
Logical lines of code 64
Comment lines 89
Methods 11
Properties 3

Methods 11

Method Rating Maintainability Complexity Lines of code
is_rest()
A
58 9 13
get_home_wordpress_directory()
A
54 8 19
url_to_relative()
S
57 8 14
get_current_language()
S
58 6 14
is_allowed_private()
S
62 6 10
is_eligible_url()
S
59 4 14
create_url_object()
S
56 3 19
get_weglot_url()
S
72 2 6
__construct()
S
76 1 4
init_weglot_url()
S
76 1 4
get_full_url()
S
79 1 3